<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8" isELIgnored="false"%>
<%@ include file="/WEB-INF/views/shared/taglib.jsp"%>
<div class="row input-container">
	<div class="col-md-6 col-sm-6 col-lg-6 hidden-xs" >
		
	</div>
	<div class="col-md-6 col-sm-6 col-lg-6 col-xs-12 text-right">
		<t:roleButton />
	</div>
</div>
<script type="text/javascript">
function addData(){
	var params="parentId="+getKeyId();
	top.openModal("/admin/official/articalClassify/articalClassifyDetailed?"+params,"articalClassify_form","文章分类详情-添加",800,500);
}
function editData(){
	var id=getKeyId();
	if(isEditor(id)){
		top.openModal("/admin/official/articalClassify/articalClassifyDetailed?key="+id,"menu_form","菜单详情-修改",800,500);
	}
}
function selData(){
	var id=getKeyId();
	if(isEditor(id)){
		top.openModal("/admin/official/articalClassify/articalClassifyDetailed?key="+id+"&mode=3","menu_form","菜单详情-查看",800,500);	
	}
}
function deleteData(){
	var id=getKeyId();
	if(isEditor(id)){
		deleteDataEx($.getVirtualPath()+"/admin/official/articalClassify/delete?key="+id,function(data){
			if(data.resultType=="success"){
				reloadTree();	
			}
		});	
	}
}

function allotMenu(){
	var id=getKeyId();
	if(isEditor(id)){
		top.openModal("/admin/superbase/menu/allotMenu?key="+id,"menu_form","菜单管理-分配按钮",800,600);
	}
}


</script>